package com.lfnyxy.query;


import com.lfnyxy.common.StringTool;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class CountryRefQuery extends BaseQuery {
    public String getMatchDecodeString() {
        if (StringTool.isNotEmpty(getMatchString())) {
            try {
                return URLDecoder.decode(getMatchString(), "UTF-8");
            } catch (UnsupportedEncodingException e) {
            }
        }
        return StringTool.Empty();
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    private int cityId;
}